package com.atguigu.team.service;
/**
 * 表示员工的状态
 * @author 石文学
 *
 */
public class Status {

	private final String NAME;
	public static final Status FREE = new Status("FREE");
	public static final Status BUSY = new Status("BUSY");
	public static final Status VOCATION = new Status("VOCATION");
	private Status(String name)
	{
		this.NAME = name;
	}
	
	public String getNAME() {
		return NAME;
	}

	@Override
	public String toString() 
	{
		return NAME;
	}
}
